home *** CD-ROM | disk | FTP | other *** search
- ;OCL{{{}}}
- ;OCL{{{ comments
- ; jump to next non-space character.
- ; fold-comments are ignored. folds are closed, when leaving them.
- ;OCL}}}
- @if-using not(ocl-file-next-char)
- @use (ocl-file-next-char)
- ;OCL{{{ next-non-space-on-line
- ( deffun next-non-space-on-line
- ( do
- ( forward-character )
- while and(test-char-set space not(test-end-line))
- )
- )
- ;OCL}}}
- ;OCL{{{ next-text-line
- ( deffun next-text-line
- ( do
- ( next-line
- case
- ( test-fold-line ( open-fold ) )
- ( test-end-fold ( close-fold ) )
- esac
- )
- while not(or(test-bottom,test-text))
- )
- )
- ;OCL}}}
- ;OCL{{{ forward-text-character
- ( deffun forward-text-character
- ( forward-character
- if test-end-line
- ;OCL{{{ next textline
- ( next-text-line
- beginning-of-line
- )
- ;OCL}}}
- fi
- )
- )
- ;OCL}}}
- @fi
-